package com.chennan.pattern.adapter.demo.power.objectadapter;

/**
 * @author chennan
 * @create 2021-09
 */
public class PowerAdapter implements DC5 {

    private AC220 ac220;

    @Override
    public int output5V() {
        int output = this.ac220.outputAC220V() / 44;
        System.out.println("变压器转换："+output);
        return output;
    }
}
